package com.yhb.dao;

import com.yhb.model.ActivateBonus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ActivateBonusMapper {
    int insert(@Param("bonus")ActivateBonus bonus, @Param("monthString") String monthString);

    List<ActivateBonus> bonusesOfUser(@Param("userId")String userId, @Param("monthString")String monthString);
}
